addToBuilder
fun addToBuilder(builder: AttributeModifiersComponent.Builder, slot: AttributeModifierSlot = AttributeModifierSlot.ANY)
adds the stored Attribute and its modifier to a passed Attribute Component builder
Author
fzzyhmstrs
Since
0.3.1
Parameters
builder
AttributeModifiersComponent.Builder - to add this attribute/modifier pair to
slot
AttributeModifierSlot - the slot for the attribute, defaults to AttributeModifierSlot.ANY